package org.blade.personal.mode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "t_sql_where_condition_defined")
public class SqlWhereConditionDefined extends BaseEntity<Long> {


	@Column(name = "owner_id")
	private Long ownerId;

	@Column(name = "column_name")
	private String columnName;
	
	public Long getOwnerId() {
		return ownerId;
	}

	public void setOwnerId(Long ownerId) {
		this.ownerId = ownerId;
	}

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public Integer getOpType() {
		return opType;
	}

	public void setOpType(Integer opType) {
		this.opType = opType;
	}

	public Integer getLogicOpType() {
		return logicOpType;
	}

	public void setLogicOpType(Integer logicOpType) {
		this.logicOpType = logicOpType;
	}

	public Long getSqlId() {
		return sqlId;
	}

	public void setSqlId(Long sqlId) {
		this.sqlId = sqlId;
	}

	public String getDefaultValue() {
		return defaultValue;
	}

	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}

	public String getParam() {
		return param;
	}

	public void setParam(String param) {
		this.param = param;
	}

	@Column(name = "op_type")
	private Integer opType;
	
	@Column(name = "logic_op_type")
	private Integer logicOpType;
	
	@Column(name = "sql_id")
	private Long sqlId;

	@Column(name = "default_value")
	private String defaultValue;
	
	@Column(name = "param")
	private String param;
	
	

}
